from typing import *


class Solution:

    def maxSubArray(self, nums: List[int]) -> int:
        cur = ans = nums[0]

        for i in range(1, len(nums)):
            cur = max(nums[i], nums[i] + cur)
            ans = max(ans, cur)

        return ans
    

t = 1
c = 0
while t < 10:
    t = t * 1.16
    c += 1
    print(c,t)

print(c)

